package com.zy.entity;

/**
 * 视频信息类
 * @author 张宇
 * @date 2021/8/2 16:44
 */
public class Video
{

    private Integer id;

    private String videoTitle;//图片标题

    private String videoSrc;//视频地址

    private String imgSrc;//图片地址

    private Integer videoType;//视频类型

    private Integer userId;//作者Id

    private String explain;//说明

    private String createTime;//创建时间

    private int videoView;//视频播放量

    /** 视频审核状态:1.未提交审核2.审核中3.审核通过 */
    private String status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVideoTitle() {
        return videoTitle;
    }

    public void setVideoTitle(String videoTitle) {
        this.videoTitle = videoTitle;
    }

    public String getVideoSrc() {
        return videoSrc;
    }

    public void setVideoSrc(String videoSrc) {
        this.videoSrc = videoSrc;
    }

    public String getImgSrc() {
        return imgSrc;
    }

    public void setImgSrc(String imgSrc) {
        this.imgSrc = imgSrc;
    }

    public Integer getVideoType() {
        return videoType;
    }

    public void setVideoType(Integer videoType) {
        this.videoType = videoType;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getVideoView() {
        return videoView;
    }

    public void setVideoView(int videoView) {
        this.videoView = videoView;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Video() {

    }

    public Video(Integer id, String videoTitle, String videoSrc, String imgSrc, Integer videoType, Integer userId, String explain, String createTime, int videoView, String status) {
        this.id = id;
        this.videoTitle = videoTitle;
        this.videoSrc = videoSrc;
        this.imgSrc = imgSrc;
        this.videoType = videoType;
        this.userId = userId;
        this.explain = explain;
        this.createTime = createTime;
        this.videoView = videoView;
        this.status = status;
    }

    @Override
    public String toString() {
        return "Video{" +
                "id=" + id +
                ", videoTitle='" + videoTitle + '\'' +
                ", videoSrc='" + videoSrc + '\'' +
                ", imgSrc='" + imgSrc + '\'' +
                ", videoType=" + videoType +
                ", userId=" + userId +
                ", explain='" + explain + '\'' +
                ", createTime='" + createTime + '\'' +
                ", videoView=" + videoView +
                ", status='" + status + '\'' +
                '}';
    }

}
